tangcent / easy-yapi

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

feat: add 'yapi.no_update.description' to stop api description updates #1170

Closed tangcent closed 1 month ago

tangcent commented 1 month ago

close #1164

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 61.29032% with 12 lines in your changes missing coverage. Please review.

Project coverage is 63.125%. Comparing base (bf67a5c) to head (74c3c50). Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...gcent/idea/plugin/api/export/yapi/YapiApiHelper.kt 53.846% 0 Missing and 6 partials :warning:
...idea/plugin/api/export/yapi/YapiSaveInterceptor.kt 64.706% 0 Missing and 6 partials :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170/graphs/tree.svg?width=650&height=150&src=pr&token=J6RUGI54XV&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent)](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) ```diff @@ Coverage Diff @@ ## master #1170 +/- ## =============================================== + Coverage 62.756% 63.125% +0.368% - Complexity 2374 2401 +27 =============================================== Files 255 255 Lines 12335 13288 +953 Branches 3030 3038 +8 =============================================== + Hits 7741 8388 +647 - Misses 3009 3310 +301 - Partials 1585 1590 +5 ``` | [Flag](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) | `63.125% <61.290%> (+0.368%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) | Coverage Δ | | |---|---|---| | [...dea/plugin/api/export/yapi/DefaultYapiApiHelper.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170?src=pr&el=tree&filepath=idea-plugin%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fitangcent%2Fidea%2Fplugin%2Fapi%2Fexport%2Fyapi%2FDefaultYapiApiHelper.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-aWRlYS1wbHVnaW4vc3JjL21haW4va290bGluL2NvbS9pdGFuZ2NlbnQvaWRlYS9wbHVnaW4vYXBpL2V4cG9ydC95YXBpL0RlZmF1bHRZYXBpQXBpSGVscGVyLmt0) | `59.848% <100.000%> (+0.473%)` | :arrow_up: | | [...gcent/idea/plugin/api/export/yapi/YapiApiHelper.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170?src=pr&el=tree&filepath=idea-plugin%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fitangcent%2Fidea%2Fplugin%2Fapi%2Fexport%2Fyapi%2FYapiApiHelper.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-aWRlYS1wbHVnaW4vc3JjL21haW4va290bGluL2NvbS9pdGFuZ2NlbnQvaWRlYS9wbHVnaW4vYXBpL2V4cG9ydC95YXBpL1lhcGlBcGlIZWxwZXIua3Q=) | `58.065% <53.846%> (+2.892%)` | :arrow_up: | | [...idea/plugin/api/export/yapi/YapiSaveInterceptor.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170?src=pr&el=tree&filepath=idea-plugin%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fitangcent%2Fidea%2Fplugin%2Fapi%2Fexport%2Fyapi%2FYapiSaveInterceptor.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-aWRlYS1wbHVnaW4vc3JjL21haW4va290bGluL2NvbS9pdGFuZ2NlbnQvaWRlYS9wbHVnaW4vYXBpL2V4cG9ydC95YXBpL1lhcGlTYXZlSW50ZXJjZXB0b3Iua3Q=) | `81.250% <64.706%> (-9.073%)` | :arrow_down: | ... and [147 files with indirect coverage changes](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent). Last update [bf67a5c...74c3c50](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1170?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent).