File tree Expand file tree Collapse file tree 3 files changed +36
-31
lines changed Expand file tree Collapse file tree 3 files changed +36
-31
lines changed Original file line number Diff line number Diff line change 11name : Generate
2-
3- on :
4- workflow_dispatch :
5- inputs :
6- force :
7- description : " Force the generation of the SDKs"
8- type : boolean
9- default : false
10- schedule :
11- - cron : 0 0 * * *
12-
2+ " on " :
3+ workflow_dispatch :
4+ inputs :
5+ force :
6+ description : Force the generation of the SDKs
7+ type : boolean
8+ default : false
9+ schedule :
10+ - cron : 0 0 * * *
1311jobs :
14- generate :
15- uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
16- with :
17- speakeasy_version : latest
18- openapi_doc_location : https://docs.speakeasyapi.dev/openapi.yaml
19- languages : |-
20- - typescript
21- publish_typescript : true
22- force : ${{ github.event.inputs.force }}
23- secrets :
24- github_access_token : ${{ secrets.GITHUB_TOKEN }}
25- npm_token : ${{ secrets.NPM_TOKEN }}
26- speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
12+ generate :
13+ uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
14+ with :
15+ force : ${{ github.event.inputs.force }}
16+ mode : pr
17+ speakeasy_version : latest
18+ secrets :
19+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
20+ npm_token : ${{ secrets.NPM_TOKEN }}
21+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change 1+ workflowVersion : 1.0.0
2+ sources :
3+ my-source :
4+ inputs :
5+ - location : https://speakeasy.com/openapi.yaml
6+ targets :
7+ speakeasy-client-sdk-typescript :
8+ target : typescript
9+ source : my-source
10+ publish :
11+ npm :
12+ token : $NPM_TOKEN
Original file line number Diff line number Diff line change @@ -4,16 +4,14 @@ generation:
44 usageSnippets :
55 optionalPropertyRendering : withExample
66 fixes :
7- nameResolutionDec2023 : false
8- parameterOrderingFeb2024 : false
9- requestResponseComponentNamesFeb2024 : false
7+ nameResolutionDec2023 : true
8+ parameterOrderingFeb2024 : true
9+ requestResponseComponentNamesFeb2024 : true
1010 auth :
1111 oAuth2ClientCredentialsEnabled : false
1212typescript :
13- version : 3.3.15
13+ version : 4.0.0
1414 author : Speakeasy
15- clientServerStatusCodesAsErrors : false
16- flattenGlobalSecurity : false
1715 imports :
1816 option : openapi
1917 paths :
@@ -26,4 +24,4 @@ typescript:
2624 maxMethodParams : 0
2725 outputModelSuffix : output
2826 packageName : ' @speakeasy-api/speakeasy-client-sdk-typescript'
29- templateVersion : v1
27+ templateVersion : v2
You can’t perform that action at this time.
0 commit comments