-
Notifications
You must be signed in to change notification settings - Fork 128
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
Document Spring Controller methods from Generic-based superclass? #138
Comments
I suppose my question is, am I missing something or should i consider an attempt to a scanner patch? |
No, you are not missing anything. A patch to the scanner is the way to go. |
I can fix this for Spring but refactoring JSONDocTypeBuilder.build looks like a better way. To clarify, passing the controller (or whatnot) implementation class there would allow better resolution of generics in a single place. |
Bah, ignore previous comment, JSONDocTypeBuilder wont know what to do with it, it just wants properly resolved stuff passed to it's build method. I'll just fix the spring builders. |
Hi @fabiomaffioletti ! Can you tell in which version the patch will be available ? |
Gave that up back then, did not have the time to refactor that much. If i recall correctly other class methods had to be changed for the generic types and collections to resolve properly. |
I'll take a look, thanks ! 2015-11-25 11:20 GMT+01:00 manosbatsis notifications@github.com:
|
My project has many controllers like this one:
They all extend a generic controller like this one:
How can I make JSONDoc document the generic superclass methods for each concrete Controller class?
The text was updated successfully, but these errors were encountered: