-
Notifications
You must be signed in to change notification settings - Fork 238
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
Check exclude filter when parsing spring controller classes by annotation #731
base: main
Are you sure you want to change the base?
Check exclude filter when parsing spring controller classes by annotation #731
Conversation
The class exclusion is done before the list of classes is passed to
Do you think it is needed to apply exclusion filter also in |
BTW build is failing because in |
I tried that out as well, but the generated spring endpoint class still contained the SpringTestApplication methods even though it correctly excluded the type interfaces from that class. From what I can tell, there is a check needed in SpringApplicationParser to get that to work. After the changes in this PR, it is excluding that class from the generation correctly. |
I am still not sure. SpringTestApplication is not a controller and doesn't have any REST method. Do you mean |
Adding class exclusion functionality in
SpringApplicationParser
whenscanSpringApplication
is not true (class exclusion is already working whenscanSpringApplication
is true)