Repository navigation
feat(apigw-manager): 支持资源级弃用说明自动化导入 - #317
Open
robot-wklken wants to merge 2 commits into
Open
robot-wklken wants to merge 2 commits into
robot-wklken wants to merge 2 commits into
Conversation
Collaborator
|
Collaborator
Author
|
已按要求调整文档:
验证通过: |
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.
DRF 资源可通过
extend_schema(deprecated=True)标记弃用,并使用新增的gen_apigateway_resource_config(deprecated_note=...)生成x-bk-apigateway-resource.deprecatedNote。默认空说明省略该扩展字段,原有配置输出保持兼容。补充 YAML 和 DRF 配置示例,说明取消弃用、完整同步省略字段会清空配置,以及创建资源版本并发布后的生效规则。现有同步链路原样传递 OpenAPI 的
deprecated和弃用说明。验证:
any返回类型为Any。网关请求使用模拟端点验证,未连接真实网关;其他 Python 版本和操作系统由后续 CI 验证。
Fixes #316