Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/combine-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Combine OpenAPI Specs

on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'openapi/*.json'

jobs:
combine:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Prepare OpenAPI Spec — Combine
uses: stainless-api/upload-openapi-spec-action/prepare/combine#sam/add-redocly-action
with:
input_files: 'openapi/*.json'
output_path: './combined-openapi.json'
log_level: 'info'

- name: Upload combined spec
uses: actions/upload-artifact@v4
with:
name: combined-openapi-spec
path: combined-openapi.json
Loading