tangcent / easy-yapi

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

fix: remove Non-extendable interface usage #1146

Closed tangcent closed 5 days ago

tangcent commented 5 days ago

Fix the warning message in IntelliJ IDEA Ultimate regarding a non-extendable API usage violation.

IntelliJ IDEA Ultimate 2024.2 eap (242.18071.24)

1 compatibility warning. 1 non-extendable API usage violation (Restart)

Non-extendable API usage violation

EasyYapi 2.7.1.212.0 uses APIs marked with @ApiStatus.NonExtendable, which indicates that those APIs must not be extended outside the IntelliJ Platform.

Non-extendable interface usage violation (1)

DataContext (1)

Non-extendable interface DataContext is implemented by DataEventCollector. This interface is marked with @ApiStatus.NonExtendable, which indicates that the interface is not supposed to be extended. See documentation of the @ApiStatus.NonExtendable for more info.

codecov[bot] commented 5 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.579%. Comparing base (d74de6e) to head (a3bbb1f).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1146/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/1146?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) ```diff @@ Coverage Diff @@ ## master #1146 +/- ## =============================================== - Coverage 62.619% 62.579% -0.040% + Complexity 2368 2363 -5 =============================================== Files 255 254 -1 Lines 12279 12266 -13 Branches 3019 3018 -1 =============================================== - Hits 7689 7676 -13 Misses 3009 3009 Partials 1581 1581 ``` | [Flag](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1146/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/1146/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) | `62.579% <ø> (-0.040%)` | :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. ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1146?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/1146?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent). Last update [d74de6e...a3bbb1f](https://app.codecov.io/gh/tangcent/easy-yapi/pull/1146?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).