-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Feat: api parser with propFilter #807
Conversation
Codecov Report
@@ Coverage Diff @@
## master #807 +/- ##
==========================================
+ Coverage 94.14% 94.21% +0.06%
==========================================
Files 112 112
Lines 2493 2522 +29
Branches 811 824 +13
==========================================
+ Hits 2347 2376 +29
Misses 142 142
Partials 4 4
Continue to review full report at Codecov.
|
@sdhr27 同步下对 propFilter 相关代码做的调整:
所有变更见:9531213 |
请问这样是正确用法吗?
升级到1.1.29版本,无效 |
@Gyyi 目前 |
🤔 这个变动的性质是?/ What is the nature of this change?
🔗 相关 Issue / Related Issue
#513
💡 需求背景和解决方案 / Background or solution
解决问题:api自动生成无法进行propFilter问题。
📝 更新日志 / Changelog
1、添加了apiParser配置项,包含配置ignoreNodeModules、skipPropsWithoutDoc、excludes、propFilter,比如:
2、过滤HTML标签,且标签优先级高于全局配置,但低于全局配置的propFilter,用法: