-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
35 lines (35 loc) · 945 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: 'OpenAPI Spec Diff'
description: 'A diff tool for OpenAPI Specification 3'
inputs:
base:
description: 'Path of original OpenAPI spec in YAML or JSON format'
required: true
revision:
description: 'Path of revised OpenAPI spec in YAML or JSON format'
required: true
format:
description: 'Output format'
required: false
default: 'yaml'
breaking-only:
description: 'Display breaking changes (deprecated)'
required: false
default: false
check-breaking:
description: 'Display breaking changes'
required: false
default: false
fail-on-diff:
description: 'Fail with exit code 1 if a difference is found'
required: false
default: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.base }}
- ${{ inputs.revision }}
- ${{ inputs.format }}
- ${{ inputs.breaking-only }}
- ${{ inputs.check-breaking }}
- ${{ inputs.fail-on-diff }}