Skip to content

Commit cd1b8fb

Browse files
author
Codat Pipeline Bot
committed
Updates to SDKs
1 parent aaaa97f commit cd1b8fb

File tree

583 files changed

+370
-997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

583 files changed

+370
-997
lines changed

.github/workflows/accounting_generate.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
name: Generate Accounting SDK
2-
3-
on:
4-
workflow_dispatch: # Allows manual triggering of the workflow to generate SDK
1+
name: Generate Accounting library
2+
'on':
3+
workflow_dispatch:
54
inputs:
65
force:
7-
description: "Force generation of SDKs"
6+
description: Force generation of SDKs
87
type: boolean
98
default: false
109
schedule:
11-
- cron: 0 0 * * * # Runs every day at midnight
12-
10+
- cron: 0 0 * * *
1311
jobs:
1412
generate:
15-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14 # Import the sdk generation workflow which will handle the generation of the SDKs and publishing to the package managers in 'direct' mode.
13+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
1614
with:
1715
speakeasy_version: latest
1816
openapi_doc_location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
1917
languages: |-
2018
- python: ./accounting
21-
publish_python: true
2219
create_release: true
2320
mode: pr
2421
force: ${{ github.event.inputs.force }}
22+
publish_python: true
2523
secrets:
2624
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2725
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
name: Release Accounting SDK
2-
3-
on:
4-
push: # Will trigger when the RELEASES.md file is updated by the merged PR from the generation workflow
1+
name: Release Accounting library
2+
'on':
3+
push:
54
paths:
6-
- "accounting/RELEASES.md"
5+
- accounting/RELEASES.md
76
branches:
8-
- main
9-
7+
- main
108
jobs:
119
publish:
12-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14 # Import the sdk publish workflow which will handle the publishing to the package managers
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
1311
with:
1412
create_release: true
1513
publish_python: true
1614
secrets:
1715
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1816
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
19-
pypi_token: ${{ secrets.PYPI_TOKEN }}
2017
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
18+
pypi_token: ${{ secrets.PYPI_TOKEN }}

.github/workflows/assess_generate.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
name: Generate Assess SDK
2-
3-
on:
4-
workflow_dispatch: # Allows manual triggering of the workflow to generate SDK
1+
name: Generate Assess library
2+
'on':
3+
workflow_dispatch:
54
inputs:
65
force:
7-
description: "Force generation of SDKs"
6+
description: Force generation of SDKs
87
type: boolean
98
default: false
109
schedule:
11-
- cron: 0 0 * * * # Runs every day at midnight
12-
10+
- cron: 0 0 * * *
1311
jobs:
1412
generate:
15-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14 # Import the sdk generation workflow which will handle the generation of the SDKs and publishing to the package managers in 'direct' mode.
13+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
1614
with:
1715
speakeasy_version: latest
1816
openapi_doc_location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
1917
languages: |-
2018
- python: ./assess
21-
publish_python: true
2219
create_release: true
2320
mode: pr
2421
force: ${{ github.event.inputs.force }}
22+
publish_python: true
2523
secrets:
2624
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2725
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
name: Release Assess SDK
2-
3-
on:
4-
push: # Will trigger when the RELEASES.md file is updated by the merged PR from the generation workflow
1+
name: Release Assess library
2+
'on':
3+
push:
54
paths:
6-
- "assess/RELEASES.md"
5+
- assess/RELEASES.md
76
branches:
8-
- main
9-
7+
- main
108
jobs:
119
publish:
12-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14 # Import the sdk publish workflow which will handle the publishing to the package managers
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
1311
with:
1412
create_release: true
1513
publish_python: true
1614
secrets:
1715
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1816
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
19-
pypi_token: ${{ secrets.PYPI_TOKEN }}
2017
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
18+
pypi_token: ${{ secrets.PYPI_TOKEN }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Generate Bank Feeds library
2+
'on':
3+
workflow_dispatch:
4+
inputs:
5+
force:
6+
description: Force generation of SDKs
7+
type: boolean
8+
default: false
9+
schedule:
10+
- cron: 0 0 * * *
11+
jobs:
12+
generate:
13+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
14+
with:
15+
speakeasy_version: latest
16+
openapi_doc_location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
17+
languages: |-
18+
- python: ./bank-feeds
19+
create_release: true
20+
mode: pr
21+
force: ${{ github.event.inputs.force }}
22+
publish_python: true
23+
secrets:
24+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
25+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
26+
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release Bank Feeds library
2+
'on':
3+
push:
4+
paths:
5+
- bank-feeds/RELEASES.md
6+
branches:
7+
- main
8+
jobs:
9+
publish:
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
11+
with:
12+
create_release: true
13+
publish_python: true
14+
secrets:
15+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
16+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
17+
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
18+
pypi_token: ${{ secrets.PYPI_TOKEN }}

.github/workflows/banking_generate.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
name: Generate Banking SDK
2-
3-
on:
4-
workflow_dispatch: # Allows manual triggering of the workflow to generate SDK
1+
name: Generate Banking library
2+
'on':
3+
workflow_dispatch:
54
inputs:
65
force:
7-
description: "Force generation of SDKs"
6+
description: Force generation of SDKs
87
type: boolean
98
default: false
109
schedule:
11-
- cron: 0 0 * * * # Runs every day at midnight
12-
10+
- cron: 0 0 * * *
1311
jobs:
1412
generate:
15-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14 # Import the sdk generation workflow which will handle the generation of the SDKs and publishing to the package managers in 'direct' mode.
13+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
1614
with:
1715
speakeasy_version: latest
1816
openapi_doc_location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
1917
languages: |-
2018
- python: ./banking
21-
publish_python: true
2219
create_release: true
2320
mode: pr
2421
force: ${{ github.event.inputs.force }}
22+
publish_python: true
2523
secrets:
2624
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2725
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
name: Release Banking SDK
2-
3-
on:
4-
push: # Will trigger when the RELEASES.md file is updated by the merged PR from the generation workflow
1+
name: Release Banking library
2+
'on':
3+
push:
54
paths:
6-
- "banking/RELEASES.md"
5+
- banking/RELEASES.md
76
branches:
8-
- main
9-
7+
- main
108
jobs:
119
publish:
12-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14 # Import the sdk publish workflow which will handle the publishing to the package managers
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
1311
with:
1412
create_release: true
1513
publish_python: true
1614
secrets:
1715
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1816
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
19-
pypi_token: ${{ secrets.PYPI_TOKEN }}
2017
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
18+
pypi_token: ${{ secrets.PYPI_TOKEN }}

.github/workflows/commerce_generate.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
name: Generate Commerce SDK
2-
3-
on:
4-
workflow_dispatch: # Allows manual triggering of the workflow to generate SDK
1+
name: Generate Commerce library
2+
'on':
3+
workflow_dispatch:
54
inputs:
65
force:
7-
description: "Force generation of SDKs"
6+
description: Force generation of SDKs
87
type: boolean
98
default: false
109
schedule:
11-
- cron: 0 0 * * * # Runs every day at midnight
12-
10+
- cron: 0 0 * * *
1311
jobs:
1412
generate:
15-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14 # Import the sdk generation workflow which will handle the generation of the SDKs and publishing to the package managers in 'direct' mode.
13+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
1614
with:
1715
speakeasy_version: latest
1816
openapi_doc_location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
1917
languages: |-
2018
- python: ./commerce
21-
publish_python: true
2219
create_release: true
2320
mode: pr
2421
force: ${{ github.event.inputs.force }}
22+
publish_python: true
2523
secrets:
2624
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2725
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
name: Release Commerce SDK
2-
3-
on:
4-
push: # Will trigger when the RELEASES.md file is updated by the merged PR from the generation workflow
1+
name: Release Commerce library
2+
'on':
3+
push:
54
paths:
6-
- "commerce/RELEASES.md"
5+
- commerce/RELEASES.md
76
branches:
8-
- main
9-
7+
- main
108
jobs:
119
publish:
12-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14 # Import the sdk publish workflow which will handle the publishing to the package managers
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
1311
with:
1412
create_release: true
1513
publish_python: true
1614
secrets:
1715
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1816
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
19-
pypi_token: ${{ secrets.PYPI_TOKEN }}
2017
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
18+
pypi_token: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)