Install
openclaw skills install @kingaiwork/api-schema-migratorDetect breaking changes between OpenAPI versions and auto-generate migration scripts. / 检测OpenAPI版本间的破坏性变更,自动生成迁移脚本。
openclaw skills install @kingaiwork/api-schema-migratorDetect breaking changes between OpenAPI versions and auto-generate migration scripts. / 检测OpenAPI版本间的破坏性变更,自动生成迁移脚本。
🦁 由 KingAI.Work 出品 — 智能进化|vip@kingai.work
• Detects breaking changes between any two OpenAPI specs automatically / 自动识别任意两个OpenAPI规范间的破坏性变更,杜绝线上故障 • Generates ready-to-run migration scripts in YAML or JSON / 一键生成可直接部署的YAML或JSON迁移脚本,节省80%人工排查时间 • Supports multi-version diff tracking with visual changelog / 支持多版本差异追踪,可视化变更日志让团队协作零障碍 • Integrates with CI/CD pipelines for pre-deployment validation / 无缝集成CI/CD流水线,部署前自动校验变更合规性 • Pro-only: real-time schema drift detection against live APIs / 专业版独有:实时检测线上API与规范间的Schema漂移 • Pro-only: auto-rollback scripts for high-risk breaking changes / 专业版专属:高风险破坏性变更自动生成回滚脚本,兜底无忧
# Step 1 — check environment
which bash curl && echo "Ready"
# Step 2 — run the tool
bash api-schema-migrator diff --old v1.yaml --new v2.yaml --output migration.yaml Compares two API specs and outputs a migration script ready for deployment. / 比较两个API规范,输出可直接用于部署的迁移脚本。
# Step 3 — review output
echo "Done — check the generated output"
• Migrating from internal v1 to v2 API without breaking existing integrations / 从内部v1升级到v2 API时,自动检测字段删除或类型变更,生成迁移脚本确保下游调用方无缝过渡 • Auditing a third-party API update before production deployment / 在部署第三方API更新前进行审计,快速识别新增必填字段或端点移除,避免上线后引发连锁故障 • DevOps team standardizing API versioning across microservices / DevOps团队统一微服务API版本管理,自动生成跨服务迁移计划,确保多版本共存期间零冲突
| Capability | Free | Pro |
|---|---|---|
| Basics / 基础 | ✅ | ✅ |
| Automation / 自动化 | — | ✅ |
| AI / AI 功能 | — | ✅ |
| Support | Community | Priority |
Published by King AI — kingai.work | vip@kingai.work