api-core-lib 12.0.41 → 12.0.43

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.
Files changed (2) hide show
  1. package/dist/cli.cjs +10 -3
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -140,9 +140,16 @@ README.md
140
140
  `-g typescript-axios`,
141
141
  `-o "${typesOutputPath}"`,
142
142
  `--ignore-file-override "${ignoreFilePath}"`,
143
- // **الخيار السحري**: أخبر المولد بتوليد النماذج فقط
144
- `--global-property models`,
145
- `--additional-properties=supportsES6=true,withInterfaces=true,modelPropertyNaming=original`
143
+ // ==========================================================
144
+ // ## البداية: التعديل النهائي والنهج الصحيح ##
145
+ // ==========================================================
146
+ // [إصلاح] هذا هو النهج الصحيح لتوليد النماذج فقط.
147
+ // نحن نحدد بالضبط ما نريد توليده (Models) وما لا نريده (APIs, Supporting Files).
148
+ "--global-property models,apis=false,supportingFiles=false",
149
+ // ==========================================================
150
+ // ## النهاية: التعديل النهائي والنهج الصحيح ##
151
+ // ==========================================================
152
+ `--additional-properties=supportsES6=true,useSingleRequestParameter=true,withInterfaces=true,modelPropertyNaming=original`
146
153
  ].join(" ");
147
154
  console.log(import_chalk.default.gray(`Executing command: npx @openapitools/openapi-generator-cli...`));
148
155
  (0, import_child_process.execSync)(generatorCommand, { stdio: "inherit" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api-core-lib",
3
- "version": "12.0.41",
3
+ "version": "12.0.43",
4
4
  "description": "A flexible and powerful API client library for modern web applications.",
5
5
  "type": "module",
6
6
  "exports": {