tangcent / easy-yapi

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

chore: polish Postman API helper classes and cache management #1145

Closed tangcent closed 5 days ago

codecov[bot] commented 6 days ago

Codecov Report

Attention: Patch coverage is 68.83117% with 24 lines in your changes missing coverage. Please review.

Project coverage is 62.619%. Comparing base (02901d8) to head (ed18af2).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1145/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/1145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) ```diff @@ Coverage Diff @@ ## master #1145 +/- ## =============================================== - Coverage 62.715% 62.619% -0.096% + Complexity 2369 2368 -1 =============================================== Files 255 255 Lines 12308 12279 -29 Branches 3026 3019 -7 =============================================== - Hits 7719 7689 -30 - Misses 3008 3009 +1 Partials 1581 1581 ``` | [Flag](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1145/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/1145/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) | `62.619% <68.831%> (-0.096%)` | :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/1145?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) | Coverage Δ | | |---|---|---| | [...c/main/kotlin/com/itangcent/cache/CacheSwitcher.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1145?src=pr&el=tree&filepath=idea-plugin%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fitangcent%2Fcache%2FCacheSwitcher.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-aWRlYS1wbHVnaW4vc3JjL21haW4va290bGluL2NvbS9pdGFuZ2NlbnQvY2FjaGUvQ2FjaGVTd2l0Y2hlci5rdA==) | `100.000% <ø> (ø)` | | | [...idea/plugin/api/export/postman/PostmanApiHelper.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1145?src=pr&el=tree&filepath=idea-plugin%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fitangcent%2Fidea%2Fplugin%2Fapi%2Fexport%2Fpostman%2FPostmanApiHelper.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-aWRlYS1wbHVnaW4vc3JjL21haW4va290bGluL2NvbS9pdGFuZ2NlbnQvaWRlYS9wbHVnaW4vYXBpL2V4cG9ydC9wb3N0bWFuL1Bvc3RtYW5BcGlIZWxwZXIua3Q=) | `78.947% <ø> (ø)` | | | [...lugin/api/export/postman/PostmanCachedApiHelper.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1145?src=pr&el=tree&filepath=idea-plugin%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fitangcent%2Fidea%2Fplugin%2Fapi%2Fexport%2Fpostman%2FPostmanCachedApiHelper.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-aWRlYS1wbHVnaW4vc3JjL21haW4va290bGluL2NvbS9pdGFuZ2NlbnQvaWRlYS9wbHVnaW4vYXBpL2V4cG9ydC9wb3N0bWFuL1Bvc3RtYW5DYWNoZWRBcGlIZWxwZXIua3Q=) | `62.857% <71.429%> (-0.830%)` | :arrow_down: | | [...ugin/api/export/postman/DefaultPostmanApiHelper.kt](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1145?src=pr&el=tree&filepath=idea-plugin%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fitangcent%2Fidea%2Fplugin%2Fapi%2Fexport%2Fpostman%2FDefaultPostmanApiHelper.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#diff-aWRlYS1wbHVnaW4vc3JjL21haW4va290bGluL2NvbS9pdGFuZ2NlbnQvaWRlYS9wbHVnaW4vYXBpL2V4cG9ydC9wb3N0bWFuL0RlZmF1bHRQb3N0bWFuQXBpSGVscGVyLmt0) | `65.297% <67.857%> (-3.965%)` | :arrow_down: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1145?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/1145?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent). Last update [02901d8...ed18af2](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1145?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).