dnault / therapi-runtime-javadoc

Read Javadoc comments at run time.
Apache License 2.0
117 stars 19 forks source link

Add JavaDoc from interface to implementation #61

Closed MarcelCoding closed 2 years ago

MarcelCoding commented 2 years ago

https://github.com/springdoc/springdoc-openapi/issues/1548

Add the ability to read JavaDoc from the implementation, where the JavaDoc is actually placed at the interface.

gebezs commented 2 years ago

I spent some time understanding the issue and this is what I found:

@dnault What do you think, did I miss anything?

dnault commented 2 years ago

@gebezs Thank you for the detailed analysis.

figuring out which method overrides what other or others is hard

Maybe not impossibly hard. It's hard to find out which methods override a method (as in that StackOverflow question), but I believe the Reflection API provides all the tools necessary to go the other way (given a method, find out which superclass / interface methods it overrides).

@dnault What do you think, did I miss anything?

I think you covered everything! Are you interested in working on this?