Development
Детектор breaking changes API и план миграции
Сравнивает две OpenAPI 3.x схемы, находит ломающие изменения и предлагает стратегии миграции
html· HTML-результатОткрыть инструмент
Быстрый старт
Вызовите этот инструмент из своего кода на трёх языках.
cURL
curl -X POST 'https://api.elysiatools.com/ru/api/tools/api-breaking-changes-detector-migration-planner' \
-H 'Content-Type: application/json' \
-d '{"oldSchema":"openapi: 3.0.3\npaths:\n /users:\n post:\n requestBody:\n required: false\n content:\n application/json:\n schema:\n type: object\n properties:\n name: { type: string }\n responses:\n \"200\":\n description: ok\n content:\n application/json:\n schema:\n type: object\n properties:\n id: { type: string }\n name: { type: string }\n","newSchema":"openapi: 3.0.3\npaths:\n /users:\n post:\n requestBody:\n required: true\n content:\n application/json:\n schema:\n type: object\n required: [name, role]\n properties:\n name: { type: string }\n role: { type: string }\n responses:\n \"200\":\n description: ok\n content:\n application/json:\n schema:\n type: object\n properties:\n id: { type: string }\n"}'