tangcent / easy-yapi

Generate API document to yapi
https://easyyapi.com
GNU Affero General Public License v3.0
427 stars 144 forks source link

这个配置项如何使用的 #1041

Open gghxjava opened 9 months ago

gghxjava commented 9 months ago

method.doc[groovy:it.containingClass().hasDoc("deprecated")]=groovy:"\n「已废弃」" + it.containingClass().doc("deprecated") method.doc[groovy:it.containingClass().hasAnn("java.lang.Deprecated")]=「已废弃」

你这个不是方法吗,方法的话 好像containingClass 调不动

gghxjava commented 9 months ago

[Jackson_JsonUnwrapped] 还有这个配置项 配了没用

tangcent commented 9 months ago

method.doc[groovy:it.containingClass().hasDoc("deprecated")]=groovy:"\n「已废弃」" + it.containingClass().doc("deprecated") method.doc[groovy:it.containingClass().hasAnn("java.lang.Deprecated")]=「已废弃」

你这个不是方法吗,方法的话 好像containingClass 调不动

我试了一下,没发现问题啊

[Jackson_JsonUnwrapped] 还有这个配置项 配了没用

你的插件版本是多少?

stale[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.