OfficeDev / TeamsFx

Developer tools for building Teams apps
Other
427 stars 164 forks source link

perf(spec-parser): fix root auth in spec is ignored issue, update error msg #11440

Closed SLdragon closed 3 weeks ago

SLdragon commented 3 weeks ago

Bug 27750414: Fix spec parser cannot parse api with auth in spec root

codecov[bot] commented 3 weeks ago

Codecov Report

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

Project coverage is 87.78%. Comparing base (9392191) to head (8c5b4ca). Report is 1 commits behind head on dev.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11440/graphs/tree.svg?width=650&height=150&src=pr&token=QQX8WVOEC3&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev)](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11440?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev) ```diff @@ Coverage Diff @@ ## dev #11440 +/- ## ======================================= Coverage 87.78% 87.78% ======================================= Files 495 495 Lines 29667 29668 +1 Branches 5783 5790 +7 ======================================= + Hits 26042 26043 +1 Misses 1781 1781 Partials 1844 1844 ``` | [Files](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11440?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev) | Coverage Δ | | |---|---|---| | [packages/spec-parser/src/constants.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11440?src=pr&el=tree&filepath=packages%2Fspec-parser%2Fsrc%2Fconstants.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvc3BlYy1wYXJzZXIvc3JjL2NvbnN0YW50cy50cw==) | `100.00% <100.00%> (ø)` | | | [packages/spec-parser/src/utils.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11440?src=pr&el=tree&filepath=packages%2Fspec-parser%2Fsrc%2Futils.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvc3BlYy1wYXJzZXIvc3JjL3V0aWxzLnRz) | `93.89% <100.00%> (+0.02%)` | :arrow_up: |