Skip to content

Commit c1c3d40

Browse files
authored
Update openapi-generator to its latest version (#46)
1 parent abb27e0 commit c1c3d40

File tree

4 files changed

+133
-74
lines changed

4 files changed

+133
-74
lines changed

.github/workflows/pr-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
node-version: ${{ env.NODE_VERSION }}
5151

5252
- name: Run markdownlint
53-
run: npx markdownlint-cli -c ./markdownlint.yml --ignore ui/node_modules --ignore backend/node_modules "**/*.md"
53+
run: npx markdownlint-cli -c ./markdownlint.yml --ignore ui/node_modules --ignore ui/autogenerated --ignore backend/node_modules "**/*.md"
5454

5555
verify-ui:
5656
name: Verify UI

ui/openapitools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
33
"spaces": 2,
44
"generator-cli": {
5-
"version": "6.6.0"
5+
"version": "7.14.0"
66
}
77
}

ui/package-lock.json

Lines changed: 129 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
"build": "tsc && vite build",
3232
"lint": "eslint src/*",
3333
"test": "jest src",
34-
"generate-backend-client": "openapi-generator-cli generate -g typescript-axios -i https://api.apps.rancher.io/api-docs -o autogenerated/client/backend --additional-properties usePromises=true --model-name-suffix=DTO",
34+
"generate-backend-client": "openapi-generator-cli generate -g typescript-axios -i https://api.apps.rancher.io/api-docs -o autogenerated/client/backend --model-name-suffix=DTO",
3535
"postversion": "git add package.json package-lock.json && git commit -a -m \"Prepare UI for release $npm_package_version\""
3636
},
3737
"devDependencies": {
3838
"@docker/extension-api-client-types": "0.3.4",
39-
"@openapitools/openapi-generator-cli": "^2.15.3",
39+
"@openapitools/openapi-generator-cli": "^2.21.0",
4040
"@stylistic/eslint-plugin": "^2.10.1",
4141
"@types/jest": "^29.1.2",
4242
"@types/node": "^18.7.18",

0 commit comments

Comments
 (0)