api-core-lib 12.0.40 → 12.0.41
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 +3 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -140,7 +140,9 @@ README.md
|
|
|
140
140
|
`-g typescript-axios`,
|
|
141
141
|
`-o "${typesOutputPath}"`,
|
|
142
142
|
`--ignore-file-override "${ignoreFilePath}"`,
|
|
143
|
-
|
|
143
|
+
// **الخيار السحري**: أخبر المولد بتوليد النماذج فقط
|
|
144
|
+
`--global-property models`,
|
|
145
|
+
`--additional-properties=supportsES6=true,withInterfaces=true,modelPropertyNaming=original`
|
|
144
146
|
].join(" ");
|
|
145
147
|
console.log(import_chalk.default.gray(`Executing command: npx @openapitools/openapi-generator-cli...`));
|
|
146
148
|
(0, import_child_process.execSync)(generatorCommand, { stdio: "inherit" });
|