This action can be used to find differences between the OpenAPI specifications generated using AutoOAS. The action finds the differences for all profiles using the OpenAPI-diff tool. The action can be used in the following way:
- uses: MSA-API-Management/AutoGuard-diff-action@v1.3
with:
old_dir: '<path_to_old_specifications>' # required
new_dir: '<path_to_new_specifications>' # required
fail_on_breaking: 'true' # optional (default: 'true'). If set to 'false', breaking changes are reported but won't fail the pipeline