Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mvegter/openapi-diff-action

GitHub action to identify differences between Swagger or OpenApi specifications.
https://github.com/mvegter/openapi-diff-action

Last synced: about 1 month ago
JSON representation

GitHub action to identify differences between Swagger or OpenApi specifications.

Awesome Lists containing this project

README

        

# OpenAPI Diff action
A GitHub Action to identify differences between Swagger or OpenApi specifications.

## Credits
This GitHub Action is a wrapper for the NPM `openapi-diff` package by Atlassian. See the following links for more information:
- https://www.npmjs.com/package/openapi-diff
- https://bitbucket.org/atlassian/openapi-diff/src

## Usage
```yaml
steps:
- name: Check out head branch
uses: actions/checkout@v2
with:
path: head
- name: Check out master branch
uses: actions/checkout@v2
with:
ref: master
path: base
- name: Run OpenAPI Diff (from HEAD revision)
uses: mvegter/[email protected]
with:
head-spec: head/spec/openapi.yaml
base-spec: base/spec/openapi.yaml
```