JSON Report command for openapi-changes
Generate a machine-readable report of OpenAPI changesBuilding 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:
jq
command is used to color pretty-print the JSON output, if you don’t have it installed,
omit it from the commandYou should see something like this: