File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed
Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,16 @@ jobs:
4949 node-version : 22
5050 registry-url : " https://registry.npmjs.org"
5151
52+ - name : Set OpenAPI Generator Version
53+ run : |
54+ OPENAPI_VERSION=$(jq .[\"generator-cli\"].version openapitools.json)
55+ echo "OPENAPI_GENERATOR_VERSION=$OPENAPI_VERSION" >> $GITHUB_ENV
56+ shell : bash
57+
5258 - name : Generate SDK with Updated Version
53595460 with :
55- openapi-generator-version : 7.10.0
61+ openapi-generator-version : ${{ env.OPENAPI_GENERATOR_VERSION }}
5662 language : typescript-axios
5763 additional-properties : --additional-properties=npmVersion=$PACKAGE_VERSION
5864
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ export class Configuration {
9393 ...param . baseOptions ,
9494 headers : {
9595 ...param . baseOptions ?. headers ,
96- 'User-Agent' : "OpenAPI-Generator/1.0.0-dev /typescript-axios"
96+ 'User-Agent' : "OpenAPI-Generator/1.0.0/typescript-axios"
9797 }
9898 } ;
9999 this . formDataCtor = param . formDataCtor ;
Original file line number Diff line number Diff line change 11npmName : bandwidth-sdk
2- npmVersion : 1.0.0-dev
32withSeparateModelsAndApi : true
43modelPackage : models
54apiPackage : api
Original file line number Diff line number Diff line change 11{
22 "name" : " bandwidth-sdk" ,
3- "version" : " 1.0.0-dev " ,
3+ "version" : " 1.0.0" ,
44 "description" : " OpenAPI client for bandwidth-sdk" ,
55 "author" : " OpenAPI-Generator Contributors" ,
66 "repository" : {
You can’t perform that action at this time.
0 commit comments