JSON Report command for openapi-changes

Generate a machine-readable report of OpenAPI changes

Building an app or an API? Want to programmatically access the changes between two OpenAPI specs?

If this is something you’re looking for, then the report command is what you’re looking for.


To use the report with one of our examples, check out the code and run the following command:

openapi-changes report ./ sample-specs/petstorev3.json | jq The jq command is used to color pretty-print the JSON output, if you don’t have it installed, omit it from the command

You should see something like this: