api-core-lib 12.0.41 → 12.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +9 -3
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -140,9 +140,15 @@ README.md
|
|
|
140
140
|
`-g typescript-axios`,
|
|
141
141
|
`-o "${typesOutputPath}"`,
|
|
142
142
|
`--ignore-file-override "${ignoreFilePath}"`,
|
|
143
|
-
//
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
// ==========================================================
|
|
144
|
+
// ## البداية: التعديل الحاسم للتحكم في المخرجات ##
|
|
145
|
+
// ==========================================================
|
|
146
|
+
// [تعديل] سنقوم بتحديد ما نريد إنشاؤه وما لا نريده بشكل صريح
|
|
147
|
+
"--global-property models,supportingFiles=false",
|
|
148
|
+
// ==========================================================
|
|
149
|
+
// ## النهاية: التعديل الحاسم للتحكم في المخرجات ##
|
|
150
|
+
// ==========================================================
|
|
151
|
+
`--additional-properties=supportsES6=true,useSingleRequestParameter=true,withInterfaces=true,modelPropertyNaming=original`
|
|
146
152
|
].join(" ");
|
|
147
153
|
console.log(import_chalk.default.gray(`Executing command: npx @openapitools/openapi-generator-cli...`));
|
|
148
154
|
(0, import_child_process.execSync)(generatorCommand, { stdio: "inherit" });
|