This repository was archived by the owner on Dec 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,11 @@ public class Apis implements Serializable {
165165 */
166166 private String version ;
167167
168+ /**
169+ * dubboMethod, such as:com.xx.User com.xxx.UserService.findById(java.lang.Long id)
170+ */
171+ private String dubboMethod ;
172+
168173 public String getVersion () {
169174 return version ;
170175 }
@@ -359,4 +364,12 @@ public void setDeprecated(String deprecated) {
359364 this .deprecated = deprecated ;
360365 }
361366
367+ public String getDubboMethod () {
368+ return dubboMethod ;
369+ }
370+
371+ public void setDubboMethod (String dubboMethod ) {
372+ this .dubboMethod = dubboMethod ;
373+ }
374+
362375}
Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ public static List<Apis> buildDubboApis(List<RpcJavaMethod> apiMethodDocs) {
304304 methodApi .setResponseParams (buildParams (apiMethodDoc .getResponseParams ()));
305305 methodApi .setOrderIndex (apiMethodDoc .getOrder ());
306306 methodApi .setDeprecated (apiMethodDoc .isDeprecated () ? DocAnnotationConstants .DEPRECATED : null );
307+ methodApi .setDubboMethod (apiMethodDoc .getJavaMethod ().getDeclarationSignature (false ));
307308 // Json
308309 if (CollectionUtil .isNotEmpty (apiMethodDoc .getRequestParams ())) {
309310 methodApi .setRequestParams (buildParams (apiMethodDoc .getRequestParams ()));
You can’t perform that action at this time.
0 commit comments