Commit 9d93cb91 authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

fix: 1281 deprectated warning when generate model

parent 193cb050
......@@ -35,7 +35,7 @@
"extract-translations:csv-to-json": "ngx-translate-extract-csv -r -i ./src/assets/i18n/translate.csv -o ./src/assets/i18n -s ;",
"extract-translations:json-to-csv": "ngx-translate-extract-csv -l fr,en,de -i ./src/assets/i18n -o ./src/assets/i18n/translate.csv -s ;",
"generate-version": "ts-node --project tsconfig-ts-node.json git.version.ts",
"generate-models": "(rm src/app/generated-api -fr || echo generated-api directory is absent) && openapi-generator generate -Dmodels -DsupportingFiles -i src/assets/openapi/DLCM-APIs.json -g typescript-angular -o src/app/generated-api --additional-properties=\"ngVersion=7.2.0,providedInRoot=true,modelSuffix=,modelFileSuffix=.partial.model,fileNaming=kebab-case,prependFormOrBodyParameters=true,modelPropertyNaming=original\" --skip-validate-spec && npm run clean-after-models-generation",
"generate-models": "(rm src/app/generated-api -fr || echo generated-api directory is absent) && set env JAVA_OPTS='-Dmodels -DsupportingFiles' && openapi-generator generate -i src/assets/openapi/DLCM-APIs.json -g typescript-angular -o src/app/generated-api --additional-properties=\"ngVersion=7.2.0,providedInRoot=true,modelSuffix=,modelFileSuffix=.partial.model,fileNaming=kebab-case,prependFormOrBodyParameters=true,modelPropertyNaming=original\" --skip-validate-spec && npm run clean-after-models-generation",
"clean-after-models-generation": "cd src/app/generated-api && rm -fr .openapi-generator .gitignore .openapi-generator-ignore git_push.sh api api.module.ts configuration.ts encoder.ts index.ts variables.ts README.md && cp ../../assets/openapi/README-txt-to-copy.txt README.txt",
"build:sourcemaps": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --sourceMap --base-href /",
"build:sourcemaps-prod": "npm run build:sourcemaps -- --prod",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment