From f06233f396b004f6319ee0823b9df19c00ca941f Mon Sep 17 00:00:00 2001 From: Jeet Viramgama Date: Thu, 14 Dec 2023 09:00:26 +0200 Subject: [PATCH] fix(admin-ui): unable to generate valid jans-config-api client using kc plugin specs #1504 Signed-off-by: Jeet Viramgama --- admin-ui/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-ui/package.json b/admin-ui/package.json index 52a89c474..6f21f3793 100644 --- a/admin-ui/package.json +++ b/admin-ui/package.json @@ -33,8 +33,8 @@ "start:dev": "node ./build/cli-tools.js --clear dist --create dist && webpack serve --config ./build/webpack.config.client.dev.js", "start:prod": "node ./build/cli-tools.js --clear dist --create dist && webpack-dev-server --config ./build/webpack.config.client.prod.js", "lint": "eslint app/ --ext .js,jsx --fix", - "api": "rm -rf jans_config_api && openapi-merge-cli && openapi-generator-cli generate -i ./configApiSpecs.yaml --skip-validate-spec -g javascript -o jans_config_api && cd jans_config_api && npm i mocha@10.2.0 && npm install && npm run build", - "api-win": "del /f jans_config_api && openapi-merge-cli && openapi-generator-cli generate -i ./configApiSpecs.yaml -g javascript -o jans_config_api && cd jans_config_api && npm i mocha@10.2.0 && npm install && npm run build", + "api": "rm -rf jans_config_api && openapi-merge-cli && openapi-generator-cli generate -i ./configApiSpecs.yaml --global-property skipFormModel=false -g javascript -o jans_config_api && cd jans_config_api && npm i mocha@10.2.0 && npm install && npm run build", + "api-win": "del /f jans_config_api && openapi-merge-cli && openapi-generator-cli generate -i ./configApiSpecs.yaml --global-property skipFormModel=false -g javascript -o jans_config_api && cd jans_config_api && npm i mocha@10.2.0 && npm install && npm run build", "plugin:showAll": "node ./build/plugin-cli.js --showAllPlugins", "plugin:add": "node ./build/plugin-cli.js --addPlugin", "plugin:remove": "node ./build/plugin-cli.js --removePlugin",