oasdiff

Compare OpenAPI specifications and detect breaking changes

brewmacoslinux
Try with needOr install directly
Source

About

OpenAPI Diff and Breaking Changes

Commands

oasdiff

Examples

Compare two OpenAPI specification files and show all changes$ oasdiff breaking old-spec.yaml new-spec.yaml
Check for breaking changes only (exit code indicates if found)$ oasdiff breaking https://api.example.com/openapi.json https://api.example.com/openapi-v2.json
Generate a detailed diff report between two API versions$ oasdiff diff v1-spec.json v2-spec.json --format=text