@apidiff/action 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action.yml +20 -0
- package/dist/index.js +34961 -0
- package/package.json +13 -0
- package/src/index.ts +53 -0
- package/tsconfig.json +11 -0
- package/tsup.config.ts +10 -0
package/action.yml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: 'Semantic API Diff'
|
|
2
|
+
description: 'Compare API specs semantically'
|
|
3
|
+
inputs:
|
|
4
|
+
base-spec:
|
|
5
|
+
description: 'Path or ref to base spec (e.g. main:openapi.yaml)'
|
|
6
|
+
required: true
|
|
7
|
+
head-spec:
|
|
8
|
+
description: 'Path or ref to head spec (e.g. pr-branch:openapi.yaml)'
|
|
9
|
+
required: true
|
|
10
|
+
fail-on-breaking:
|
|
11
|
+
description: 'Fail the action if breaking changes are found'
|
|
12
|
+
required: false
|
|
13
|
+
default: 'true'
|
|
14
|
+
format:
|
|
15
|
+
description: 'Output format (markdown, json, terminal)'
|
|
16
|
+
required: false
|
|
17
|
+
default: 'markdown'
|
|
18
|
+
runs:
|
|
19
|
+
using: 'node20'
|
|
20
|
+
main: 'dist/index.js'
|