-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature(spring-mvc): detect endpoint methods with either protected or package-private visibility #165
feature(spring-mvc): detect endpoint methods with either protected or package-private visibility #165
Conversation
c84ed4a
to
0b562b5
Compare
0b562b5
to
9755055
Compare
Requires #168 |
9755055
to
dae4b22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this nice PR, nothing much to say
@@ -39,20 +37,6 @@ public static ClassLoader getProjectClassLoader() { | |||
return ReflectionsUtils.projectClassLoader; | |||
} | |||
|
|||
public static ConfigurationBuilder createConfigurationBuilder() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this! the "testMode" boolean is not needed anymore now, I will remove it.
@@ -698,6 +701,14 @@ public void collection() throws MojoFailureException, IOException, MojoExecution | |||
checkGenerationResult("ut/SpringClassAnalyserTest/collection.yml", generated.get(0)); | |||
} | |||
|
|||
@Test | |||
public void package_private() throws MojoFailureException, IOException, MojoExecutionException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perfect, tests are a must have! 👍
This methods are valid Spring endpoints, so they should be correctly detected