File tree 4 files changed +9
-4
lines changed
4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,16 @@ jobs:
49
49
node-version : 22
50
50
registry-url : " https://registry.npmjs.org"
51
51
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
+
52
58
- name : Generate SDK with Updated Version
53
59
54
60
with :
55
- openapi-generator-version : 7.10.0
61
+ openapi-generator-version : ${{ env.OPENAPI_GENERATOR_VERSION }}
56
62
language : typescript-axios
57
63
additional-properties : --additional-properties=npmVersion=$PACKAGE_VERSION
58
64
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ export class Configuration {
93
93
...param . baseOptions ,
94
94
headers : {
95
95
...param . baseOptions ?. headers ,
96
- 'User-Agent' : "OpenAPI-Generator/1.0.0-dev /typescript-axios"
96
+ 'User-Agent' : "OpenAPI-Generator/1.0.0/typescript-axios"
97
97
}
98
98
} ;
99
99
this . formDataCtor = param . formDataCtor ;
Original file line number Diff line number Diff line change 1
1
npmName : bandwidth-sdk
2
- npmVersion : 1.0.0-dev
3
2
withSeparateModelsAndApi : true
4
3
modelPackage : models
5
4
apiPackage : api
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " bandwidth-sdk" ,
3
- "version" : " 1.0.0-dev " ,
3
+ "version" : " 1.0.0" ,
4
4
"description" : " OpenAPI client for bandwidth-sdk" ,
5
5
"author" : " OpenAPI-Generator Contributors" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments