forked from stainless-api/merge-openapi-spec-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
26 lines (22 loc) · 731 Bytes
/
action.yml
File metadata and controls
26 lines (22 loc) · 731 Bytes
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
name: 'Merge OpenAPI Specs'
description: 'Merge multiple OpenAPI specification files into a single YAML file'
author: 'Stainless Team <support@stainless.com>'
inputs:
input_files:
description: 'Glob patterns or file paths of OpenAPI spec files to merge (e.g., "services/**/*.yaml" or "api1.json,api2.yaml")'
required: true
output_path:
description: 'Path where the merged file will be saved'
required: false
default: './merged-openapi.yaml'
outputs:
merged_file:
description: 'Path to the merged OpenAPI specification file'
path_count:
description: 'Total number of paths in the merged specification'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'layers'
color: 'blue'