feat(docs): Markdown 展示路由中间件 (issue #4)#197
Open
yourtion wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #197 +/- ##
==========================================
+ Coverage 92.54% 92.57% +0.02%
==========================================
Files 28 28
Lines 2939 2948 +9
Branches 770 773 +3
==========================================
+ Hits 2720 2729 +9
Misses 217 217
Partials 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
middlewares 此前已通过 .middlewares() 注册并经 DOC_FIELD 采集, 但四个生成器无一渲染。现 Markdown 在「请求地址」下方输出中间件函数名 列表(取具名函数 fn.name,匿名跳过)。Swagger/Postman 不受影响 (OpenAPI 标准无中间件字段)。 - 新增 3 个回归测试(具名中间件 / 无中间件 / 匿名跳过) - bump 版本 3.2.1 → 3.2.5,登记 MIGRATION
afaa71f to
62fd775
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 issue
Closes #4
改动内容
middlewares此前已通过.middlewares()注册并经DOC_FIELD采集进文档数据,但四个生成器无一渲染。中间件:<fn1>, <fn2>(取具名函数fn.name,匿名函数跳过)测试
npm run test:lib:317 → 320 全绿tsc --noEmit通过版本
bump 3.2.1 → 3.2.5,已登记 MIGRATION
合并顺序提示
本系列共 4 个 PR,请按版本号顺序合并(3.2.2 → 3.2.3 → 3.2.4 → 3.2.5)。
⚠️ 合并时
MIGRATION.md与package.json可能冲突,需 rebase 解冲突。相关
issue #3(API 版本)已 wontfix 关闭:与「热路径零分配」「hook 不参与控制流」架构红线冲突,已有
groups[].prefix替代方案。