Summary command
Print a summary of OpenAPI changesWant to check OpenAPI changes in a CI/CD pipeline? Or just want a quick summary in the terminal?
If this is something you’re looking for, then the summary command is what you’re looking for.
To use the summary with one of our examples, check out the code
and run the following command:
Turn off colors and styling
If the colors and formatting are giving your pipeline problems, you can turn off colors and styling with the --no-color flag.
Render as markdown
If you want to render the output as markdown, you can use the --markdown flag.
This will render the tree, tables and summary items as CI/CD friendly markdown. Emoji’s will be used and it looks great in your pipeline logs!
Fail on diff
In v0.0.78 a new --error-on-diff flag was added to the summary command. Using this flag will result in an error code being returned
if any kind of change was detected.