-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
34 lines (34 loc) · 1.08 KB
/
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
name: Stainless — Upload OpenAPI specification
description: Upload your OpenAPI spec to update your Stainless SDKs (and, if configured, add example snippets to your API docs)
branding:
icon: book-open
color: green
runs:
using: node20
main: dist/index.js
inputs:
stainless_api_key:
description: 'Stainless API key.'
required: true
input_path:
description: 'Path to the OpenAPI file.'
required: true
config_path:
description: 'Path to the Stainless config file.'
required: false
output_path:
description: 'Output path for the decorated OpenAPI spec.'
project_name:
description: 'Stainless project name. Required for organizations with multiple projects.'
required: false
commit_message:
description: 'Commit message to use in the commits in the SDK repo.'
required: false
guess_config:
description: 'If true, renegerate the endpoints in the Stainless config file.'
required: false
default: 'false'
branch:
description: 'If true, renegerate the endpoints in the Stainless config file.'
required: false
default: 'main'