Check exclude filter when parsing spring controller classes by annotation#731
Check exclude filter when parsing spring controller classes by annotation#731jpstratman wants to merge 3 commits into
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
SpringApplicationParserwhenscanSpringApplicationis not true (class exclusion is already working whenscanSpringApplicationis true)