feat(phase2): 给 /edit-plans/* 所有API加deprecated标记和warning日志 #640
Reference in New Issue
Block a user
Delete Branch "feat/phase2-deprecated-markers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
变更内容
Phase 2 Step 5:标记所有剪辑计划API为废弃。
deprecated=True(Swagger/OpenAPI中显示废弃标记)/templates/{template_id}/editor/*新路径涉及文件
_helpers.py: 新增deprecated_edit_plans_api依赖edit_plans.py+ 10个子路由: 加deprecated标记 + 日志依赖验证
- 50个端点全部加 deprecated=True - 统一依赖打 warning 日志,指向 /templates/{id}/editor/* - 兼容期2个版本周期CI全绿,自动审批通过。
CI全绿,自动审批通过。