You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating RPC interface documentation, smart-doc includes non-default methods from parent interfaces directly into the methodDocList to ensure inherited methods are scanned. This approach works appropriately in a Dubbo API module integrated with smart-doc, as it is necessary to retrieve all methods within the interface.
However, this leads to an issue when integrating smart-doc in a Dubbo Provider: both the implementation class's methods and those of its interface are entirely scanned, resulting in duplicate generation of interface documentation.
Affected Versions
smart-doc versions from [2.6.9 to 2.7.1] are impacted by this issue.
The text was updated successfully, but these errors were encountered:
shalousun
changed the title
在 dubbo provider 集成 smart-doc,会生成重复的接口
When integrating smart-doc in a Dubbo Provider, it results in the generation of duplicated interface documents.
May 22, 2024
Your Environment (Your Usage Environment)
Problem Description
When generating RPC interface documentation,
smart-doc
includes non-default
methods from parentinterfaces
directly into themethodDocList
to ensure inherited methods are scanned. This approach works appropriately in aDubbo API
module integrated withsmart-doc
, as it is necessary to retrieve all methods within theinterface
.However, this leads to an issue when integrating
smart-doc
in aDubbo Provider
: both the implementation class's methods and those of itsinterface
are entirely scanned, resulting in duplicate generation of interface documentation.Affected Versions
smart-doc
versions from [2.6.9 to 2.7.1] are impacted by this issue.The text was updated successfully, but these errors were encountered: