tangcent / easy-yapi

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

fix: resolve comment for custom enum field #1112

Closed tangcent closed 6 months ago

tangcent commented 6 months ago

fix #1108

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 26.66667% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 62.009%. Comparing base (8ab2b5f) to head (ed7cc14).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1112/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/1112?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) ```diff @@ Coverage Diff @@ ## master #1112 +/- ## =============================================== - Coverage 62.051% 62.009% -0.042% Complexity 2285 2285 =============================================== Files 249 249 Lines 12090 12095 +5 Branches 2982 2983 +1 =============================================== - Hits 7502 7500 -2 - Misses 2992 2998 +6 - Partials 1596 1597 +1 ``` | [Flag](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1112/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/1112/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) | `62.009% <26.667%> (-0.042%)` | :arrow_down: | 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](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1112?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) | Coverage Δ | | |---|---|---| | [...rc/main/kotlin/com/itangcent/common/kit/KVUtils.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1112?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-Y29tbW9uLWFwaS9zcmMvbWFpbi9rb3RsaW4vY29tL2l0YW5nY2VudC9jb21tb24va2l0L0tWVXRpbHMua3Q=) | `92.500% <100.000%> (ø)` | | | [...ugin/settings/helper/RemoteConfigSettingsHelper.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1112?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-aWRlYS1wbHVnaW4vc3JjL21haW4va290bGluL2NvbS9pdGFuZ2NlbnQvaWRlYS9wbHVnaW4vc2V0dGluZ3MvaGVscGVyL1JlbW90ZUNvbmZpZ1NldHRpbmdzSGVscGVyLmt0) | `70.588% <0.000%> (ø)` | | | [...-api/src/main/kotlin/com/itangcent/utils/AnyKit.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1112?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-Y29tbW9uLWFwaS9zcmMvbWFpbi9rb3RsaW4vY29tL2l0YW5nY2VudC91dGlscy9BbnlLaXQua3Q=) | `90.625% <33.333%> (-5.927%)` | :arrow_down: | | [...ent/idea/plugin/api/export/core/CommentResolver.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1112?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-aWRlYS1wbHVnaW4vc3JjL21haW4va290bGluL2NvbS9pdGFuZ2NlbnQvaWRlYS9wbHVnaW4vYXBpL2V4cG9ydC9jb3JlL0NvbW1lbnRSZXNvbHZlci5rdA==) | `32.203% <33.333%> (-5.728%)` | :arrow_down: | | [...dea/plugin/api/export/core/RequestClassExporter.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1112?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-aWRlYS1wbHVnaW4vc3JjL21haW4va290bGluL2NvbS9pdGFuZ2NlbnQvaWRlYS9wbHVnaW4vYXBpL2V4cG9ydC9jb3JlL1JlcXVlc3RDbGFzc0V4cG9ydGVyLmt0) | `59.497% <0.000%> (-0.136%)` | :arrow_down: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1112?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/1112?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent). Last update [8ab2b5f...ed7cc14](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1112?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).