feat(apigw-manager): support merging extra resource files#287
Merged
wklken merged 4 commits intoJun 5, 2026
Merged
Conversation
- Add merge_extra_resources function to load YAML files and merge paths/components - Add --extra-resource-file command-line argument (supports multiple files) - Support BK_APIGW_EXTRA_RESOURCE_FILES Django setting for default file paths - Validate no duplicate path+method combinations or component names - Resolve relative paths against BASE_DIR - Add comprehensive tests for merge function and command integration
Collaborator
PR ReviewReview Scope
变更概览
历史评论核对
发现的问题未发现 Blocking / Important / Suggestion 级别的问题。 优点
测试与文档建议
结论基于最新 PR head 和本地测试结果,这个 PR 暂未发现需要修改后再合入的问题。 [from-codex local repo] |
wklken
approved these changes
Jun 5, 2026
cszmzh
approved these changes
Jun 5, 2026
…support-extra-resource-files
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.
变更说明
支持将手动配置的路由合并到自动生成的 resource.yaml 文件中。
新增功能
测试覆盖
使用示例
额外资源文件格式